package com.atguigu.mock.repository;

import com.atguigu.common.base.repository.BaseRepository;
import com.atguigu.mock.entity.OrderDetail;
import com.atguigu.mock.entity.OrderInfo;

import java.util.Collection;
import java.util.List;

public interface OrderDetailRepository extends BaseRepository<OrderDetail, Long> {
    List<OrderDetail> findByOrderInfoIn(Collection<OrderInfo> orderInfos);
}